//
//  XMbaseCanMoveView.h
//  BigJoy
//
//  Created by Rowling on 2017/6/16.
//  Copyright © 2017年 Rowling. All rights reserved.
//

#import <UIKit/UIKit.h>
#define Inset 8.5
@class XMbaseCanMoveView;
@protocol XMbaseCanMoveViewDelegate <NSObject>
-(void)XMbaseCanMoveViewTap:(UIView *)View;
@optional
-(void)XMbaseCanMoveViewDeleButtonClick:(XMbaseCanMoveView *)View;
-(void)XMdoublClick:(XMbaseCanMoveView *)View;
@end

@interface XMbaseCanMoveView : UIView

@property (nonatomic,weak) id<XMbaseCanMoveViewDelegate>Delegate;
@property (nonatomic,assign) BOOL isSelect;
@property (nonatomic,strong) UITapGestureRecognizer *tap;
@property (nonatomic,strong) UIImage *image;
-(void)setUI;
@end
